package com.frame.demo.injector.component;


import com.frame.demo.app.MyApplication;
import com.frame.demo.injector.moudle.ApplicationModule;

import javax.inject.Singleton;

import dagger.Component;

/**
 * 全局注入器
 * @author liuxia
 * @version 1.0
 * @date 2015/12/22
 */
@Singleton
@Component(
        modules = {ApplicationModule.class})
public interface ApplicationComponent {

    void inject(MyApplication pApplication);

}
